// src/app/store.ts
import { configureStore } from '@reduxjs/toolkit';
import themeReducer from '../features/theme/themeSlice';
import languageSlice from '../features/language/languageSlice';
export const store = configureStore({
  reducer: {
    theme: themeReducer,
    language:languageSlice
  }
});

export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;